-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OCM 3993 | Feat | Add GCP marketplace terms and conditions for marketplace GCP clusters #566
Conversation
cmd/ocm/create/cluster/cmd.go
Outdated
@@ -533,6 +546,14 @@ func preRun(cmd *cobra.Command, argv []string) error { | |||
if isGcpMarketplace { | |||
fmt.Println("setting ccs to 'true'") | |||
args.ccs.Enabled = true | |||
fmt.Println("Review and accept Google Terms and Agreements on", gcpTermsAgreementsHyperlink) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should it be Terms and Conditions
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are keeping it consistent with the UI : https://docs.google.com/document/d/1xpRCZ0QYWRuvVtCEycWrHwXWSIepzUkgb8Nobqf3Dlc/edit#heading=h.ve1e69gtx5pl
cmd/ocm/create/cluster/cmd.go
Outdated
fmt.Println("setting provider to", c.ProviderGCP) | ||
fmt.Println("setting ccs to 'true'") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change the behaviour: why do we only show the message/override the ccs and cloud provider attributes in the interactive mode?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added the prompt messages for non-interactive mode as well
LGTM |
Changed
Tested